.set_container {
  height: 100%;
  overflow: auto;
  box-sizing: border-box;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  row-gap: 12px;

  ::-webkit-scrollbar {
    display: none !important;
  }
}

.order_early_warning,
.order_customer_service,
.order_grade,
.order_module,
.fee_set,
.customer_service_assign,
.network_assign_rule,
.custom_field,
.finish_template,
.return_visit_template {
  height: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 5px;

  .header {
    display: flex;
    justify-content: space-between;

    .btn_group,
    .search {
      display: flex;
      column-gap: 5px;
    }

    .search {
      :deep(.el-input) {
        width: 160px;
      }
    }
  }

  .table_container {
    max-height: calc(100% - 66px);
  }

  .pagination {
    display: flex;
    justify-content: flex-end;
  }
}

.order_module,
.fee_set,
.custom_field {
  padding-top: 12px;
  box-sizing: border-box;
}

.order_module {
  .header {
    .search {
      :deep(.el-input) {
        width: 160px;
      }

      :deep(.el-select) {
        width: 140px;
      }
    }
  }
}

.order_set {
  height: calc(100vh - 92px);
  box-sizing: border-box;
  padding: 12px;

  .body {
    height: 100%;
    box-sizing: border-box;
    padding: 12px;
    background-color: #fff;

    .content {
      height: 100%;
      border: 1px solid #ebf6f6;
      display: flex;

      .sidebar {
        width: 124px;
        height: 100%;
        box-sizing: border-box;
        border-right: 1px solid #ebf6f6;

        .tab_item {
          height: 40px;
          width: 100%;
          box-sizing: border-box;
          cursor: pointer;
          font-size: 14px;
          padding-right: 20px;
          display: flex;
          justify-content: flex-end;
          align-items: center;

          &:hover {
            color: $primaryColor;
          }
        }

        .active_tab_item {
          background-color: rgba($color: $primaryColor, $alpha: 0.07);
          border-left: 3px solid $primaryColor;
          color: $primaryColor;
        }
      }

      .main {
        width: calc(100% - 124px);
        box-sizing: border-box;
        padding:  0 12px 12px 12px;

        .order_strategy,
        .order_assign_rule,
        .custom_template {
          height: 100%;

          :deep(.el-tabs) {
            height: 100%;

            .el-tabs__header {
              margin: 0;
              padding: 0 0 12px 0 !important;
            }

            .el-tabs__content {
              margin: 0 !important;
              height: calc(100% - 51px);

              .el-tab-pane {
                height: 100%;
              }
            }
          }
        }
      }
    }
  }
}

:deep(.add-dialog) {
  .form-text {
    .form-item {
      margin-bottom: 20px;

      .item-select {
        width: 100%;
      }

      .bg_text {
        color: #999999;
      }

      .is-checked {
        .bg_text {
          color: #007cff;
        }
      }
    }

    .max-item {
      .el-form-item__label {
        display: none;
      }
    }

    .input-name {
      width: 100px;
    }

    .tips {
      display: inline-block;
      margin: 0 8px;
      font-size: 18px;
    }

    .day {
      font-size: 12px;
      margin-left: 10px;
    }
  }

  .module-form {
    .el-radio {
      margin-right: 18px;
    }

    .reservationTime {
      display: flex;

      .reservationTime-el-time-select {
        width: 140px;
      }

      .reservationTime-span {
        padding: 0 6px;
      }
    }
  }

  .ml20 {
    margin-left: 20px;
  }

  .btns {
    margin-top: 10px;
  }
}

.rule-dialog {
  .form-text {
    .form-item {
      margin-bottom: 18px;
    }

    .item-select {
      width: 100%;
    }

    .cards {
      padding-right: 5px;
      max-height: 230px;
      overflow-y: auto;

      .card {
        display: flex;
        margin-bottom: 18px;

        &:last-child {
          margin-bottom: 0;
        }

        .icons {
          padding-top: 8px;
          width: 35px;
          display: flex;
          justify-content: space-between;

          i {
            cursor: pointer;
          }
        }
      }

      .item-cond {
        flex: 1;

        .item {
          flex: 1;
          padding: 10px;
          border-radius: 2px;
          border: 1px solid #decfe6;

          .width-select {
            width: 100%;
          }

          .mb10 {
            margin-bottom: 18px;
          }
        }
      }
    }

    p {
      color: #007cff;
    }

    .tips {
      height: 30px;
      padding: 0 10px;
      margin: 18px 0;
      color: #007cff;
      border-radius: 2px;
      border: 1px solid #007cff;
      box-sizing: border-box;
      background: #eef2f7;
    }
  }
}

:deep(.field-dialog) {
  .form-text {
    .form-item {
      margin-bottom: 20px;

      .bg_text {
        color: #999999;
      }

      .is-checked {
        .bg_text {
          color: #007cff;
        }
      }
    }
  }

  .module-form {
    .el-radio {
      margin-right: 18px;
    }
  }

  .field-text {
    padding-left: 20px;
    margin-bottom: 10px;

    .add {
      color: #007cff;
      cursor: pointer;
    }
  }

  .list {
    margin-bottom: 10px;
    max-height: 220px;
    overflow-y: auto;
    height: 100%;

    .field-form {
      padding-left: 15px;
    }

    .text-item {
      margin-bottom: 18px;

      .num {
        width: 25px;
        text-align: center;
        font-size: 12px;
        margin-right: 12px;
      }

      .text-input {
        width: 380px;
      }

      .delete {
        margin-left: 20px;
        font-size: 12px;
        color: #f56c6c;
        cursor: pointer;
      }

      .el-form-item__error {
        left: 38px;
      }
    }
  }
}

.el-tag.el-tag--success {
  --el-tag-text-color: #00c0c0;
  --el-tag-bg-color: #ebf6f6;
  --el-tag-border-color: #ebf6f6;
  --el-tag-hover-color: #00c0c0;
}

.el-tag.el-tag--info {
  --el-tag-border-color: var(--el-color-info-light-9);
}

.el-tag {
  --el-tag-border-color: var(--el-color-primary-light-9);
}

.el-tag.el-tag--warning {
  --el-tag-border-color: var(--el-color-warning-light-9);
}
